#ifndef RESOURCE_H
#define RESOURCE_H
#include <QObject>

class QImage;
class VolumeKey;
class PlayerUtility;

class MyResource :public QObject
{
public:
    explicit MyResource();

    static QImage       *m_buttonImage;
    static QImage       *m_buttonpImage;
    static QImage       *m_setbtnImage;
    static QImage       *m_infobtnImage;
    static QImage       *m_infobtnpImage;
    static QImage       *m_setbtnpImage;
    static QImage       *m_promatbgImage;
    static QImage       *m_helpbtnImage;
    static QImage       *m_helpbtnpImage;
    static QImage       *m_quitbtnImage;
    static QImage       *m_quitbtnpImage;
    static QImage       *m_staticbtnImage;
    static QImage       *m_staticbtnpImage;
    static QImage       *m_lockImage;
    static QImage       *m_gameaboutbtnImage;
    static QImage       *m_gamePromptMenoImage;
    static QImage       *m_gamePromptNumeberImage;
    static QImage       *m_gameErrorImage;
    static QImage       *m_gamePromptNoMenoImage;

    static VolumeKey    *m_iVolumeKey;

    static PlayerUtility    *m_clickcellplay;
    static PlayerUtility    *m_clickplay;
    static PlayerUtility    *m_rightplay;
    static PlayerUtility    *m_winplay;

    static void initImage();
    static void play(int n = 0);
};

#endif // RESOURCE_H
